/**
 * RequestParams<Type> 请求参数
 * ResponseData<Type> 响应体
 * URL API路径
 **/
export namespace LoginApi{
    export const URL = "http://192.168.1.63:8080" + "/user/login"
    export interface RequestParams {
        username:string
        password:string
        code:string
    }
    export interface ResponseData {
        code:number
        token:string
        msg:string
    }
}
export namespace ImgCodeApi{
    export const URL = "/auth/img_check_code"
    export interface ResponseData {
        data:string
    }
}
export namespace WxQrcodeApi {
    export const URL = "/auth/wx_qrcode"
    export type ResponseData = string
}
export namespace LogOutApi{
    export const URL = "/auth/img_check_code"
    export interface ResponseData {
        code:number
        msg:string
    }
}
